package com.food.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 评价附件表
 * </p>
 *
 * @author 帅得一
 * @since 2023年06月17日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("comment_attachment")
public class CommentAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "comment_attachment_id", type = IdType.AUTO)
    private Long commentAttachmentId;

    /**
     * 评价ID
     */
    @TableField("comment_attachment_comment_info_id")
    private Long commentAttachmentCommentInfoId;

    /**
     * 现文件名
     */
    @TableField("comment_attachment_file_name")
    private String commentAttachmentFileName;

    /**
     * 文件大小
     */
    @TableField("comment_attachment_size")
    private Long commentAttachmentSize;

    /**
     * 文件路径
     */
    @TableField("comment_attachment_file_path")
    private String commentAttachmentFilePath;

    /**
     * 文件后缀
     */
    @TableField("comment_attachment_file_suffix")
    private String commentAttachmentFileSuffix;

    /**
     * 上传时间
     */
    @TableField("comment_attachment_create_date")
    private LocalDateTime commentAttachmentCreateDate;


}
